package com.hmall.cart.controller;

import com.hmall.cart.config.CartPriorityProperties;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class CartPriorityController {

    @Autowired
    CartPriorityProperties properties;

    @GetMapping("/carts/props")
    public String props(){
        return properties.getFilename();
    }
}
